//    Copyright (C) Kherty.  All rights reserved.
using OpenLS.Core.Serialization;

namespace OpenLS.Drawing
{
    class TextUnderlineFillGroupWrapper : TextUnderlineFillBase
    {
        private FillProperties FillProperties;
        internal const string xmlName = "uFill";
        public override void ReadXml(ReadContext context)
        {
            using (var c = context.Read(xmlName))
            {
                this.FillProperties = FillProperties.ReadFillProperties(c);
            }
        }

        public override void WriteXml(WriteContext context)
        {
            using (var c = context.Write(xmlName))
            {
                c.WriteElement(FillProperties);
            }
        }
    }
}